package com.is.common.base;

import android.app.Application;
import android.content.Context;
import android.content.res.Resources;

/**
 * des baseApplication
 * Created by Administrator on 2017/3/29 0029.
 */
public class BaseApplication extends Application {
    private static BaseApplication mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;
//        CrashHandler crashHandler = CrashHandler.getInstance();
//        crashHandler.init(mContext);
    }

    public static Context getAppContext() {
        return mContext;
    }
    public static Resources getAppResources() {
        return mContext.getResources();
    }
    @Override
    public void onTerminate() {
        super.onTerminate();
    }
}
